package cn.sise.edu.crm.service;

import cn.sise.edu.crm.domain.BuyRecord;
import cn.sise.edu.crm.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * Created by chen on 2019/11/3.
 */
public interface IBuyRecordService {
    void insert(BuyRecord buyRecord);

    void delete(Long id);

    void update(BuyRecord buyRecord);

    BuyRecord selectById(Long id);

    List<BuyRecord> selectAll();

    PageInfo<BuyRecord> query(QueryObject queryObject);
}
